<?php if (!defined('THINK_PATH')) exit();?><link rel="stylesheet" href="/Public/bootstrap/css/bootstrap.min.css">
<link href="/Public/bootstrap/css/bootstrap.datepicker/bootstrap-datepicker3.min.css" rel="stylesheet" />
<script src="/Public/bootstrap/js/jquery.min.js"></script>
<script src="/Public/bootstrap/js/bootstrap/bootstrap.min.js"></script>

<div class='content-fuild' style="margin:20px">
<a class="btn btn-primary"  href="<?php echo U('Depart/Abnormal/itemdetail');?>">返回</a>
<form action="<?php echo U('Depart/Abnormal/items');?>" method="post">
	
	<div class="form-group">
		<input type="hidden" name="abid" value=<?php echo ($id); ?>>
		<label for="" class="form-group-addon">问题分类</label>
		<div class="col-dm-3 col-sm-12">
			<select class="form-control" name="type">
			    <?php if(is_array($type)): foreach($type as $key=>$v): ?><option value=<?php echo ($v['id']); ?>><?php echo ($v['title']); ?></option><?php endforeach; endif; ?>
		    </select>
		</div>
	</div>
	
	<div class="form-group">
		<label for="" class="form-group-addon">具体描述</label>
		<div class="col-dm-9 col-sm-12">
			<textarea name='content' class="form-control"></textarea>
		</div>
	</div>
	<div class="form-group">
		<input type='submit' value="提交">
	</div>
	
</form>